Settings_TimelockFreqPlot.m 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % ADVANCED SETTINGS FOR PLOTTING TIMELOCK / FREQ RESULTS: %
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4. %
  5. % This settings file will be read by the VisualizeTimeFreq GUI.
  6. % - Settings here will be applied to timelock or frequency analysis plots.
  7. %
  8. % Usage:
  9. % a) Settings under "DO NOT EDIT" are handled by [MEG]PLS. Do not alter these.
  10. % b) Change other values as needed. See "help" command for FieldTrip section.
  11. % c) Optional settings can be uncommented and specified.
  12. %
  13. function [cfgPlotER, cfgPlotTFR] = Settings_TimelockFreqPlot(LineStyles)
  14. %--- "FT_MULTIPLOTER" & "FT_SINGLEPLOTER" SETTINGS: ---%
  15. %------------------------------------------------------%
  16. % DO NOT EDIT:
  17. cfgPlotER.channel = 'MEG';
  18. cfgPlotER.linestyle = LineStyles;
  19. cfgPlotER.interactive = []; % Handled by GUI.
  20. % BASELINE SETTINGS:
  21. cfgPlotER.baseline = 'no'; % Specify baseline as: [TimeStart, TimeEnd]
  22. cfgPlotER.baselinetype = 'absolute'; % 'absolute' or 'relative'
  23. % GENERAL SETTINGS:
  24. cfgPlotER.layout = 'CTF151.lay';
  25. cfgPlotER.axes = 'yes';
  26. cfgPlotER.box = 'no';
  27. cfgPlotER.showlabels = 'yes';
  28. cfgPlotER.showoutline = 'no';
  29. cfgPlotER.hotkeys = 'yes';
  30. cfgPlotER.maskstyle = 'saturation';
  31. cfgPlotER.trials = 'all';
  32. % OPTIONAL SETTINGS:
  33. % cfgPlotER.parameter = field to be plotted on y-axis (default depends on data.dimord)
  34. % cfgPlotER.maskparameter = field in the first dataset to be used for marking significant data
  35. % cfgPlotER.xlim = 'maxmin' or [xmin xmax] (default = 'maxmin')
  36. % cfgPlotER.ylim = 'maxmin', 'maxabs', or [ymin ymax] (default = 'maxmin')
  37. % cfgPlotER.refchannel = name of reference channel for visualising connectivity, can be 'gui'
  38. % cfgPlotER.comment = string of text (default = date + colors)
  39. % cfgPlotER.fontsize = font size of comment and labels (if present) (default = 8)
  40. % cfgPlotER.renderer = 'painters', 'zbuffer',' opengl' or 'none' (default = [])
  41. % cfgPlotER.linewidth = linewidth in points (default = 0.5)
  42. % cfgPlotER.graphcolor = color(s) used for plotting the dataset(s)
  43. % cfgPlotER.directionality = '', 'inflow' or 'outflow
  44. %--- "FT_MULTIPLOTTFR" & "FT_SINGLEPLOTTFR" SETTINGS: ---%
  45. %--------------------------------------------------------%
  46. % DO NOT EDIT:
  47. cfgPlotTFR.channel = 'MEG';
  48. cfgPlotER.linestyle = LineStyles;
  49. cfgPlotTFR.interactive = []; % Handled by GUI.
  50. % BASELINE SETTINGS:
  51. cfgPlotTFR.baseline = 'no'; % Specify baseline as: [TimeStart, TimeEnd]
  52. cfgPlotTFR.baselinetype = 'absolute'; % 'absolute' or 'relative'
  53. % GENERAL SETTINGS:
  54. cfgPlotTFR.layout = 'CTF151.lay';
  55. cfgPlotTFR.box = 'yes';
  56. cfgPlotTFR.showlabels = 'yes';
  57. cfgPlotTFR.showoutline = 'no';
  58. cfgPlotTFR.hotkeys = 'yes';
  59. cfgPlotTFR.maskstyle = 'saturation';
  60. cfgPlotTFR.trials = 'all';
  61. cfgPlotTFR.xlim = 'maxmin'; % 'maxmin' or [xmin xmax] (default = 'maxmin')
  62. cfgPlotTFR.ylim = 'maxmin'; % 'maxmin' or [ymin ymax] (default = 'maxmin')
  63. cfgPlotTFR.zlim = 'maxmin'; % 'maxmin','maxabs' or [zmin zmax] (default = 'maxmin')
  64. % OPTIONAL SETTINGS:
  65. % cfgPlotTFR.parameter = field to be plotted on y-axis (default depends on data.dimord)
  66. % cfgPlotTFR.maskparameter = field in the first dataset to be used for marking significant data
  67. % cfgPlotTFR.maskalpha = alpha value between 0 (transparant) and 1 (opaque) used for masking areas dictated by cfgPlotTFR.maskparameter (default = 1)
  68. % cfgPlotTFR.masknans = 'yes' or 'no' (default = 'yes')
  69. % cfgPlotTFR.refchannel = name of reference channel for visualising connectivity, can be 'gui'
  70. % cfgPlotTFR.gradscale = number, scaling to apply to the MEG gradiometer channels prior to display
  71. % cfgPlotTFR.magscale = number, scaling to apply to the MEG magnetometer channels prior to display
  72. % cfgPlotTFR.colorbar = 'yes', 'no' (default = 'no')
  73. % cfgPlotTFR.colormap = any sized colormap, see COLORMAP
  74. % cfgPlotTFR.comment = string of text (default = date + zlimits)
  75. % cfgPlotTFR.fontsize = font size of comment and labels (if present) (default = 8)
  76. % cfgPlotTFR.renderer = 'painters', 'zbuffer',' opengl' or 'none' (default = [])
  77. % cfgPlotTFR.directionality = '', 'inflow' or 'outflow'